projects
/
mariadb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e8b00
)
sysusers.d: lock mysql user and keep Debian home/shell
author
Aquila Macedo
<aquilamacedo@riseup.net>
Fri, 9 Jan 2026 00:34:26 +0000
(21:34 -0300)
committer
Otto Kekäläinen
<otto@debian.org>
Thu, 19 Mar 2026 13:13:13 +0000
(13:13 +0000)
Use u! and set HOME=/nonexistent and shell=/bin/false for the mysql
user.
This patch should be submitted upstream once proven stable in Debian.
Forwarded: no
Gbp-Pq: Name sysusers-lock-mysql-account.patch
support-files/sysusers.conf.in
patch
|
blob
|
history
diff --git
a/support-files/sysusers.conf.in
b/support-files/sysusers.conf.in
index a975b29476aa041a663e01543f9a737085c5286b..8de384f45d0f07b54c0fdd9900b4e3401ba42ea4 100644
(file)
--- a/
support-files/sysusers.conf.in
+++ b/
support-files/sysusers.conf.in
@@
-1
+1
@@
-u
@MYSQLD_USER@ - "MariaDB" @MYSQL_DATADIR@
+u
! @MYSQLD_USER@ - "MariaDB Server" /nonexistent /bin/false